# Version from git tag or commit
VERSION := $(shell git describe --tags --always --dirty)

build:
	docker buildx build --platform linux/amd64 \
		-t hub.gitee.com/gitee-ai/docs:${VERSION} \
		-t hub.gitee.com/gitee-ai/docs:latest \
		-f ./Dockerfile \
		.

push:
	docker push hub.gitee.com/gitee-ai/docs:${VERSION}
